﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Service
{
    public interface IServiceLocater : ICofeService
    {
        T FindService<T>();
        T TryFindService<T>();
        IEnumerable<T> FindAllServices<T>(Func<T, bool> filter = null);
        void Register(IEnumerable<ICofeService> services);
    }
}
